﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="User_Mainpage.aspx.cs" Inherits="ORS.Web.User_Mainpage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title> 
    </head>
<body>
    <form id="form1" runat="server">


    <hr style="height: 1px" />
        <br />
        <br />
     <table style="width: 88%; height: 84px; margin-left: 147px;" border="0">
        <tr>

        <td>
        稿件标题：<asp:TextBox ID="tbx_title" runat="server" Width="191px"></asp:TextBox>
        </td>
        </tr>
        <tr>
        <td>
        研究领域：<asp:DropDownList ID="DropDownList1" runat="server" 
                    DataSourceID="SqlData_Interests" DataTextField="name" 
                    DataValueField="interestid">
                    <asp:ListItem Value="1"></asp:ListItem>
                    <asp:ListItem Value="2"></asp:ListItem>
                    <asp:ListItem Value="3"></asp:ListItem>
                    <asp:ListItem Value="4"></asp:ListItem>
                    <asp:ListItem Value="5"></asp:ListItem>
                </asp:DropDownList>
                <asp:SqlDataSource ID="SqlData_Interests" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:DB_ConnectionString %>" 
                    SelectCommand="SELECT * FROM [tb_interest]" 
                    ProviderName="<%$ ConnectionStrings:DB_ConnectionString.ProviderName %>"></asp:SqlDataSource>
        </td>
        </tr>
        <tr>
        <td>
        稿件描述：<asp:TextBox ID="tbx_interest0" runat="server" 
                        Width="407px" Height="132px" TextMode="MultiLine"></asp:TextBox><br />
        </td>
        </tr>
        <tr>
        <td>
        选择文件：<asp:FileUpload ID="FileUpload1" 
            runat="server"/>
        </td>
        </tr>
        <tr>
        <td>
        <asp:Button ID="Button1" runat="server" Text="SUBMIT" OnClick="UserFileAdd" />
            <asp:Label ID="Label2" runat="server" Text="**请将信息填写完整！" 
                style="color: #CC0000; font-size: small" Visible="False"></asp:Label>
            <asp:Label ID="Label3" runat="server" Text="**文件名请控制在20个字以内！" 
                style="font-size: small; color: #CC0000;" Visible="False"></asp:Label>
            <asp:Label ID="Label4" runat="server" Text="**文件请控制在1b到1M以内！" 
                style="color: #CC0000; font-size: small" Visible="False"></asp:Label>
        </td>
        </tr>
    </table>
    <asp:Label ID="LabelWarningMessage" runat="server" Text=""></asp:Label>
    </form>
</body>
</html>
